//
// SECTION topMenu
// 
// These javascript functions and elements are used to control and display the top
// menu that appears in all pages within the main frame. 
//


//
// SECTION TrafLogger 
// 
// these javascript functions control the display and function of the traffic logger
// which is embedded in the traffic page. 
// 
function haltTrafLogger () {
   clearInterval(trafLoggerInterval);
   
   // if the haltTrafLogger function isn't triggered again in five minutes, we'll reset the interval again, 
   // because if nobody's reacted in this amount of time, this event was likely triggered in error. 
   setTimeout("trafLoggerInterval = setInterval('updateTrafLogger()', 60000)", 300000);
}

/////////////////////////////////////////////////////////////////////////////////////////////////////////
// SECTION albEdit
// 
// these functions are intended to control the editing of albums in tracks from the albEdit mode.
// 
/////////////////////////////////////////////////////////////////////////////////////////////////////////

// function addTrk (int, int)
// this function "adds" a new track to an album by adding form elements to that album's albEdit page.
// it does not actually add the track information to the database; that must be done on submit of the form.
